package com.gsy.request;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.gsy.aop.annotation.NotRequired;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @Date 2022/3/5 22:24:39
 * @Author gsy
 */
@ApiModel
public class UpUserdataRequest extends BaseRequest {
    @ApiModelProperty(name = "用户id", value = "用户id", dataType = "Long", example = "111")
    protected Long id;

    @ApiModelProperty(name = "用户", value = "用户", dataType = "String", example = "用户")
    @NotRequired
    private String username;

    @ApiModelProperty(name = "邮箱", value = "邮箱", dataType = "String", example = "邮箱")
    @NotRequired
    private String mailbox;

    @ApiModelProperty(name = "地址", value = "地址", dataType = "String", example = "地址")
    @NotRequired
    private String address;

    @ApiModelProperty(name = "性别", value = "性别", dataType = "String", example = "性别")
    @NotRequired
    private String sex;

    @ApiModelProperty(name = "所属班级", value = "所属班级", dataType = "String", example = "所属班级")
    @NotRequired
    private String classes;

    @ApiModelProperty(name = "类型", value = "类型", dataType = "Integer", example = "类型(1管理员 2学生 3教师 )")
    @NotRequired
    private Integer type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getMailbox() {
        return mailbox;
    }

    public void setMailbox(String mailbox) {
        this.mailbox = mailbox;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getClasses() {
        return classes;
    }

    public void setClasses(String classes) {
        this.classes = classes;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
